package com.mxl.project.controller;

import com.mxl.project.annotation.OpLog;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MXL
 * @date 2021/9/11 0011
 **/
@RestController
public class HelloController {

    @OpLog(opType = "QUERY", opItem = "order", opItemIdExpression = "#name")
    @RequestMapping("/hello")
    public Object hello(String name){
        return "hello" + name;
    }

}
